﻿Imports System.Resources
Imports System.Threading

Public Class ctrlNuevoTipo_Seleccion

    Private _llamador As frmMainMetro
    Private _RM As ResourceManager


    Public Sub SetIdioma()

        _RM = New ResourceManager("UI.Idiomas", System.Reflection.Assembly.GetExecutingAssembly)

        btnAceptar.Text = _RM.GetString("btnAceptar")
        btnCancelar.Text = _RM.GetString("btnCancelar")

    End Sub



    Public Property Llamador() As frmMainMetro
        Get
            Return _llamador
        End Get
        Set(value As frmMainMetro)
            _llamador = value
        End Set
    End Property

    Private Function ValidarForm() As Boolean
        Dim bValido As Boolean = True

        If txtDescripcion.Text.Trim = "" Then bValido = False

        ValidarForm = bValido

    End Function

End Class
